<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<html>
<head>
    <title>编辑栏目 - {$singleCate.cname}</title>
</head>
<body>
<form method="post" action="__URL__/edit">
    <p>栏目名称：<input name="cname" type="text" value="{$singleCate.cname}" /></p>
    <p>关键字：<input name="keyword" type="text" value="{$singleCate.keyword}"/></p>
    <p>栏目描述：<textarea name="cinfo" cols="30" />{$singleCate.cinfo}</textarea></p>
    <p>是否开启：
        <input type="radio" name="state" value="1" <eq name="singleCate.state" value="1">checked</eq>/>是 |
        <input type="radio" name="state" value="0" <eq name="singleCate.state" value="0">checked</eq>/> 否
    </p>
    <p>栏目所属：
        <select name="pid">
            <option value="0">顶级栏目</option>
            <volist name="category" id="cate">
                <option value="{$cate.id}" <eq name="cate.id" value="$singleCate.pid">selected</eq> >
                {$cate.cname}
                </option>
            </volist>
        </select>
    </p>
    <input name="id" type="hidden" value="{$singleCate.id}" />
    <p><button type="submit">提交</button> </p>
</form>
</body>
</html>